package com.quarters.util;

public class a {


    public static void main(String args[]){
        String a = "2019-09-06 12:43:46";
        String b = "2019-09-06 18:03:48";
        if(a.compareTo(b)<0){
            System.out.println(1);
        }else{
            System.out.println(2);
        }
    }


}
